package com.zhengbing.tj.design.decorator;

/**
 * 装饰器模式-抽象装饰器
 *
 * @author zhengbing
 * @date 2025-07-21
 */
public abstract class Decorator implements Component {
    protected Component component;

    public Decorator(Component component) {
        this.component = component;
    }

    @Override
    public void operation() {
        component.operation();
    }
} 